package jmine.tec.web.front.workflow;

/**
 * Represents the transition between two fron requisition status
 * 
 * @author wagner.tsuchiya
 */
public class BackOfficeRequestStatusEdge {

    private final String name;

    private BackOfficeRequestStatusVertex from;

    private final BackOfficeRequestStatusVertex to;

    /**
     * @param name name.
     * @param to to.
     */
    public BackOfficeRequestStatusEdge(String name, BackOfficeRequestStatusVertex to) {
        super();
        this.name = name;
        this.to = to;
    }

    /**
     * @return the name
     */
    public String getName() {
        return this.name;
    }

    /**
     * @return the from
     */
    public BackOfficeRequestStatusVertex getFrom() {
        return this.from;
    }

    /**
     * @param from the from to set
     */
    public void setFrom(BackOfficeRequestStatusVertex from) {
        this.from = from;
    }

    /**
     * @return the to
     */
    public BackOfficeRequestStatusVertex getTo() {
        return this.to;
    }
}